package Array.arrayone;

import java.util.Scanner;

public class test3 {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入年份");
        int sum=sc.nextInt();
        if (sum%4==0^sum%100==0){
            System.out.println("是闰年");
        } else{
            System.out.println("不是闰年");
        }
    }
}
